package com.cq.ssm.service;

import java.util.List;

import com.cq.ssm.po.StuffCustom;
import com.cq.ssm.po.StuffQueryVo;

//全部能用
public interface StuffService {
	//根据工号 姓名 所在部门查询员工信息
	public List<StuffCustom> queryStuffs(StuffQueryVo sqv)  throws Exception;
	//插入一条记录
//	public boolean insertStuff(StuffCustom stuffCustom) throws Exception;
	//根据id更新工号
	public boolean updateStuffById(String id,StuffCustom record) throws Exception;
	//根据id查询员工信息 利用第一个完成
//	public StuffCustom findStuffByStuffId(Integer id) throws Exception;
	//根据部门编号查询员工信息   利用第一个完成
//	public List<StuffCustom> findStuffByStuffDepartmentId(Integer id) throws Exception;
	//根据stuffid删除一条记录
	public boolean deleteByStuffId(String id)throws Exception;
	//修改指定id的部门id为8
	public boolean updateDepartmentId(String idStuff) throws Exception;
}
